import { defHttp } from '#/api/request';

export function pageObj(query: any) {
  return defHttp.get('/iam/develop/gennerate-template/page', { params: query });
}
export function createObj(form: any) {
  return defHttp.post('/iam/develop/gennerate-template/create', form);
}
export function editObj(row: any) {
  return defHttp.put(`/iam/develop/gennerate-template/${row.id}/modify`, row);
}

export function delObj(id: string) {
  return defHttp.delete(`/iam/develop/gennerate-template/${id}`);
}

